#!/usr/bin/env python3
from app import create_app

app = create_app()

print("METHODS\tURL_RULE")
for rule in sorted(app.url_map.iter_rules(), key=lambda r: r.rule):
    methods = ','.join(sorted(rule.methods - {'HEAD', 'OPTIONS'}))
    print(f"{methods}\t{rule.rule}") 